function rollEm(x,y) {
document.images[x].src=y
}
var checkWin;
function goPrint() {
checkWin=window.open('checklist.htm','','width=600,height=600,left=0,top=0,menubar=no,toolbar=no');
checkWin.print();
}

function myWin() {
window.open('map.htm','','width=450,height=400,left=0,top=0,menubar=no,toolbar=no');
}

function calWin() {
window.open('/cgi-bin/cal.pl','','width=750,height=580,left=0,top=0,menubar=no,toolbar=no');
}

function helpWin(id) {
window.open('http://www.mrpayday.ca/help/client.php?cuid='+id+'','','width=500,height=300,left=0,top=0,menubar=no,toolbar=no');
}

function operWin() {
window.open('http://www.mrpayday.ca/help/oper.php','','width=500,height=300,left=0,top=0,menubar=no,toolbar=no');
}


function testWin() {
if (win && !win.closed) {
	win.close();
	}
setTimeout("mytestWin()",50);
}
var win;
function mytestWin(loc) {
win = window.open('test.html','','menubar=no,toolbar=no,location=no,scrollbars=yes,resizable=yes,width=820,height=480')
}


function MySwin() {
if (Swin && !Swin.closed) {
	Swin.close();
	}
setTimeout("admSwin()",50);
}
var Swin;
function admSwin() {
Swin = window.open('http://www.mrpayday.ca/help/staff.php','','width=240,height=315,left=0,top=0,menubar=no,toolbar=no')
}

